﻿using System;
using System.Collections.Generic;
using System.ServiceModel;
using XchangeStreamer.Utilities;

namespace XchangeStreamer.Core.CacheServer
{
    [ServiceContract(Name = "IRetriever", Namespace = Settings.Namespace)]
    public interface IRetriever
    {
        [OperationContract(IsOneWay = false, Name = Settings.Name, Action = Settings.Action)]
        List<System.ServiceModel.Channels.Message> Retrieve(int clientMessageId, int serverMessageId, int[] topicsId);
    }
}
